package com.bdqn.redisdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class Book implements Serializable {
        private Integer id;
        private String name;
        private Double price;
        private String category;
        private Integer pnum;
        private String imgurl;
        private String description;
        private String author;
        private Integer sales;
}
